package com.xinou.daily_report.service;

import com.xinou.common.base.config.ApiResponse;
import com.xinou.daily_report.PO.daily.DeductDateListPO;
import com.xinou.daily_report.PO.daily.DeductDatePO;
import com.xinou.daily_report.VO.daily.DeductDateVO;
import com.xinou.daily_report.entity.SysCalendar;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-03
 */
public interface SysCalendarService extends IService<SysCalendar> {

    /**
     * 添加或修改扣钱日期
     * @param po
     * @return
     */
    ApiResponse<Void> addOrUpdateDeductDate(DeductDatePO po);

    /**
     * 获取不用缴水果基金的日期列表
     * @return
     */
    ApiResponse<DeductDateVO> deductDateList(DeductDateListPO po);
}
